﻿namespace WWDemon.Log
{
    /// <summary>
    ///     日志定义类
    /// </summary>
    public class LogDefinition
    {
        #region < 构造 >

        /// <summary>
        ///     构造函数
        /// </summary>
        /// <param name="logLevel">日志级别</param>
        /// <param name="logDesc">日志描述</param>
        public LogDefinition(LogLevel logLevel, string logDesc)
        {
            LogLevel = logLevel;
            LogDesc = logDesc;
        }

        #endregion < 构造 >

        #region < 属性 >

        /// <summary>
        ///     日志级别
        /// </summary>
        public LogLevel LogLevel { get; }

        /// <summary>
        ///     日志描述
        /// </summary>
        public string LogDesc { get; }

        #endregion < 属性 >
    }
}